package cn.exrick.xboot.modules.workovertime.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hml
 * @since 2023-09-22
 */
public class HkOvertimeCollect extends Model<HkOvertimeCollect> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 加班/调休人id
     */
    private String hontUserId;
    /**
     * 加班总时长
     */
    private Float overtimeTotalHours;
    /**
     * 调休总时长
     */
    private Float daysoffTotalHours;
    /**
     * 本月剩余时长
     */
    private Float currentmonthSurplusHours;
    /**
     * 当前年月
     */
    private String dateMoth;
    private String createBy;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;

    private String departmentId;

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHontUserId() {
        return hontUserId;
    }

    public void setHontUserId(String hontUserId) {
        this.hontUserId = hontUserId;
    }

    public Float getOvertimeTotalHours() {
        return overtimeTotalHours;
    }

    public void setOvertimeTotalHours(Float overtimeTotalHours) {
        this.overtimeTotalHours = overtimeTotalHours;
    }

    public Float getDaysoffTotalHours() {
        return daysoffTotalHours;
    }

    public void setDaysoffTotalHours(Float daysoffTotalHours) {
        this.daysoffTotalHours = daysoffTotalHours;
    }

    public Float getCurrentmonthSurplusHours() {
        return currentmonthSurplusHours;
    }

    public void setCurrentmonthSurplusHours(Float currentmonthSurplusHours) {
        this.currentmonthSurplusHours = currentmonthSurplusHours;
    }

    public String getDateMoth() {
        return dateMoth;
    }

    public void setDateMoth(String dateMoth) {
        this.dateMoth = dateMoth;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public static final String ID = "id";

    public static final String HONT_USER_ID = "hont_user_id";

    public static final String OVERTIME_TOTAL_HOURS = "overtime_total_hours";

    public static final String DAYSOFF_TOTAL_HOURS = "daysoff_total_hours";

    public static final String CURRENTMONTH_SURPLUS_HOURS = "currentmonth_surplus_hours";

    public static final String DATE_MOTH = "date_moth";

    public static final String CREATE_BY = "create_by";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_BY = "update_by";

    public static final String UPDATE_TIME = "update_time";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HkOvertimeCollect{" +
                ", id=" + id +
                ", hontUserId=" + hontUserId +
                ", overtimeTotalHours=" + overtimeTotalHours +
                ", daysoffTotalHours=" + daysoffTotalHours +
                ", currentmonthSurplusHours=" + currentmonthSurplusHours +
                ", dateMoth=" + dateMoth +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                "}";
    }
}
